﻿<Window x:Class="Wpf2.Views.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Phần mềm quản lý xuất nhập kho vật liệu xây dựng Khang Huy" Height="800.526" Width="1085.526" WindowStartupLocation="CenterScreen" WindowState="Maximized"
        Icon="/Wpf2;component/Images/windows_icon.ico"
        >
    <Grid Background="#dce3e5">

        <StackPanel Name="rootPanel" Orientation="Vertical" RenderTransformOrigin="0.495,1.002" Background="#FF3C2AF9">
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,10,0,0">
                <Button x:Name="btnHome" MinWidth="93" Click="BtnHomeClick" Background="#FFFF9000">Màn hình chính</Button>
                <Button x:Name="btnMenuQuanlykho" x:FieldModifier="public" MinWidth="93" Margin="10,0,0,0" Click="BtnMenuQuanlykhoClick" Background="#FF00FF29">Quản lý kho</Button>
                <Button x:Name="btnNhapKho" MinWidth="93" Margin="10,0,0,0" Background="#FFFF0006" Click="BtnNhapKhoClick" >Nhập kho</Button>
                <Button MinWidth="93" Margin="10,0,0,0" Background="#FF00EEFF" Click="BtnOutInventoryClick">Xuất kho</Button>
                <Button MinWidth="93" Margin="10,0,0,0" Width="72" Background="#FFEEFF00" Click="BtnOrderManagementClick">Hóa đơn lưu</Button>
            </StackPanel>
            <StackPanel Name="tkpMain" Orientation="Vertical" Height="500" Margin="0,23,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" RenderTransformOrigin="0.5,0.5">
                <StackPanel Orientation="Horizontal" Margin="0,10,0,0" VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button x:Name="btnQuanlykho" Width="400" Height="200" Margin="10,0,0,0"  BorderBrush="{DynamicResource {x:Static SystemColors.HotTrackBrushKey}}" Background="#FF00FF29" Click="BtnQuanlykhoClick"  FontSize="36" VerticalContentAlignment="Bottom" >
                        <Button.Content>
                            <Grid>
                                <Label Foreground="#FF007AFF" Content="Quản lý kho" Margin="0,0,10,131" Background="{x:Null}" />
                                <Image Source="/Wpf2;component/Images/inventory_bg.png" Margin="10,52,-10,0">
                            </Image>
                            </Grid>
                        </Button.Content>
                    </Button>
                    <Button x:Name="OutInventory" Width="400" Height="200" Margin="10,0,0,0" Background="#FF00EEFF"  FontSize="36" VerticalContentAlignment="Bottom" Click="BtnOutInventoryClick">
                        <Button.Content>
                            <Grid>
                                <Label Foreground="#FF007AFF" Content="Xuất kho" Margin="0,0,10,131" Background="{x:Null}" />
                                <Image Source="/Wpf2;component/Images/inventory_out_bg.png" Margin="10,52,-10,0">
                                </Image>
                            </Grid>
                        </Button.Content>
                    </Button>
                </StackPanel>
                <StackPanel Orientation="Horizontal"  Margin="0,10,0,0"  VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Width="400" Height="200" Margin="10,0,0,0" Background="#FFFF0006" Click="BtnNhapKhoClick" FontSize="36" VerticalContentAlignment="Bottom">
                        <Button.Content>
                            <Grid>
                                <Label Foreground="#FF007AFF" Content="Nhập kho" Margin="0,0,10,131" Background="{x:Null}" />
                                <Image Source="/Wpf2;component/Images/inventory_in_bg.png" Margin="10,52,-10,0">
                                </Image>
                            </Grid>
                        </Button.Content>
                    </Button>
                    <Button Width="400" Height="200" Margin="10,0,0,0" Background="#FFEEFF00"   FontSize="36" VerticalContentAlignment="Bottom" Click="BtnOrderManagementClick">
                        <Button.Content>
                            <Grid>
                                <Label Foreground="#FF007AFF" Content="Hoá đơn lưu" Margin="0,0,10,131" Background="{x:Null}" />
                                <Image Source="/Wpf2;component/Images/inventory_save_bg.png" Margin="10,52,-10,0">
                                </Image>
                            </Grid>
                        </Button.Content>
                    </Button>
                </StackPanel>
            </StackPanel>
        </StackPanel>
           
    </Grid>
</Window>
